home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / gnustuff / tos / othergnu / atari-~1.zoo / README.atari < prev   
Encoding:
Text File  |  1992-05-10  |  2.6 KB  |  75 lines

  1. Here are the diffs for groff-1.05.
  2.  
  3. I compiled this with gcc-2.1 at patchlevel 2. 
  4. Note that this is c++ source !
  5.  
  6. To compile, you need a lot of free memory. I managed to get through
  7. with 3.4 Mb of free ram, but then I had to handcompile pic.tab.c.
  8. (That is, if I ran make, I didn't have enough memory)
  9. You might be able to compile it with less mem if you skip
  10. optimization.
  11.  
  12. You also have to use the mintlibraries (Patchlevel 19 or better),
  13. since this system relies heavily on functions only available in
  14. mint.
  15. Additionally you must make a few changes to the include files:
  16.  
  17.     a) 
  18.        In errno.h, change the definition of generic error
  19.        to something else than ERROR.
  20.        I use "#define G_ERROR 1     /* generic error */"
  21.     b)
  22.        In wait.h
  23.        "#define w_retcode _w_retcode" needs to be changed into
  24.        "#define w_retcode _w.retcode"
  25.        (This might allready have been fixed)
  26.        I also added a line:
  27.         "__EXTERN int wait __PROTO((union wait *exit_code));"
  28.        I'm not quite sure whether this is _really_ correct, but
  29.        heck, it works :-)
  30.  
  31. You might expect some trouble if you are on a machine without a math
  32. co-processor, as I have not tested this with pml at all. Because I
  33. have a TT, I exchanged fpu.h in the mint-directory with math-68881.h
  34. from the gcc-distribution, and this inlines (in assembly) all the
  35. functions that pml usually takes care of.
  36.  
  37. (btw. pml stands for the Portable Math Library, pml.olb)
  38.  
  39. To apply the diffs:
  40.     Extract the original FSF distribution of groff-1.05 somewhere.
  41.     cd to the groff-1.05 directory
  42.     rm -f pic/pic.tab.h pic/pic.tab.c pic/y.output
  43.     patch -p1 < atari-groff.dif
  44.  
  45. Then type make, make yourself a HUGE can of coffee, and watch the
  46. screen for some hours (on an ST, this is going to take a LONG time)
  47.  
  48. If everything goes well, make install.
  49.  
  50. Hint:
  51.     If you haven't allready installed a minix filesystem, this
  52. might be a good time to do it. It makes such a GREAT difference to
  53. see those long filenames exactly as they should be without that
  54. (according to the authour himself) ugly UNIXMODE hack.
  55.  
  56. Thanx 
  57.     To Eric Smith for MiNT
  58.     To bammi and helpers for gcc
  59.     and of course to GNU for making all of this possible.
  60.  
  61. Erling Henanger
  62. erlingh@idt.unit.no
  63.  
  64. PS:
  65. I also include a simple script I use for formatting/reading man-pages.
  66. This first checks $MANPATH/cat[1-9] for a formatted man-page.
  67. If it fails, it checks to see if there exists a formatted and compressed
  68. manpage in $MANPATH/cat[1-9]
  69. If that fails, it checks to see if there exists an unformatted
  70. man-page in $MANPATH/man[1-9], and if it exists, it uses groff to
  71. format it, and then compresses it and stores it in $MANPATH/cat[1-9]
  72. for quicker reading next time.
  73.  
  74. Cheers.
  75.